package com.bianmaba.oauth2.service.security.role;

import com.bianmaba.oauth2.bean.entity.Role;
import com.bianmaba.oauth2.repository.security.role.RoleRepository;
import com.bianmaba.spring.supports.service.BaseService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by cwx183898 on 2017/12/14.
 */
@Service
@Transactional
public class RoleService extends BaseService<Role, String> implements IRoleService {
    private static final Log LOG = LogFactory.getLog(RoleService.class);
    @Autowired
    private RoleRepository repository;

    @Override
    public RoleRepository getRepository() {
        return repository;
    }
}
